* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

input,
textarea,
button,
p {
    border: none;
    outline: none;
    resize: none;
}

a,
i,
em,
h1,
h2,
h3,
h4,
span {
    font-style: normal;
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: url(../img/myday-bg.jpg) no-repeat center;
    background-size: cover;
}

@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), url('../font/iconfont.woff2') format('woff2'), url('../font/iconfont.woff') format('woff'), url('../font/iconfont.ttf') format('truetype'), url('../font/iconfont.svg#iconfont') format('svg');
}


/* 主题样式 */

.night {
    color: #fff !important;
    background-color: #000 !important;
}

.day {
    color: #000;
    background-color: #ddd !important;
}

.important-color {
    color: #F5B4C0;
}


/* 右侧页面样式 */

.todo-nav {
    text-align: center;
}

.todo-nav .edit {
    display: none;
}

.todo-nav .normal {
    display: block;
}

.todo-nav ul {
    line-height: 60px;
    height: 60px;
    width: 100%;
}

.todo-nav ul li a {
    font-size: 20px;
    color: #fff;
}

.todo-bd {
    position: absolute;
    padding: 10px 10px 70px 10px;
    width: 100%;
}

.todo-bd li {
    position: relative;
    width: 98%;
    margin: 10px 1%;
    padding: 10px 60px;
    background-color: #fff;
    border-radius: 10px;
    font-size: 20px;
}

.todo-bd li p {
    padding: 0 10px;
    border-left: 2px solid #bbb;
}

.todo-bd li i:first-child,
.todo-bd li i:last-child {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transform: translateY(-50%);
    font-family: 'iconfont';
    font-size: 30px;
    cursor: pointer;
}

.todo-bd li i:first-child {
    left: 10px;
    content: '\e74d';
}

.todo-bd li i:last-child {
    right: 10px;
    content: '\e79d';
}


/* 底部添加待办 */

.add {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 72%;
    height: 60px;
    margin: 10px 2%;
    padding: 10px 10px 10px 50px;
    border-radius: 10px;
    font-size: 20px;
    background-color: #000;
}

.add input {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding-left: 10px;
    color: #fff;
    background-color: #212121;
}

.add i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #fff;
}


/* 已完成样式 */

.finish {
    position: relative;
    margin-top: 50px;
}

.finish-title {
    position: absolute;
    top: -40px;
    left: 10px;
    width: 80px;
    height: 30px;
    color: #fff;
    line-height: 30px;
    text-align: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, .3);
}